home *** CD-ROM | disk | FTP | other *** search
- Path: news.easysoft.com!not-for-mail
- From: nick@news.easysoft.com (Nick Gorham)
- Newsgroups: comp.lang.c
- Subject: Re: Is it me? or does time() not work as specified?
- Date: 16 Feb 1996 10:47:54 -0000
- Organization: Easysoft Ltd.
- Message-ID: <4g1ncq$ja4@lodur.easysoft.com>
- References: <3123a1ca.41523@news>
- NNTP-Posting-Host: localhost.easysoft.com
- X-NNTP-Posting-Host: lodur.easysoft.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Faye Pearson (faye@fe-line.demon.co.uk) wrote:
- : Hi All, hope you can help?
-
- : Compiler: Turbo C++ 3.0
-
- : problem: time() documented to give seconds GMT since 1970. gives GMT+5
- : localtime() gives correct GMT when daylight=0 and timezone=0
-
- This confused me as well, The TZ enviroment variable is used to
- get the local offset from GMT.
-
- Nick Gorham - nick@easysoft.com
-